#pragma once

#include "sys/concurrent/Thread.h"

class LoadingManager;
class LoadingThread : public concurrent::Thread
{
public:
	LoadingThread(LoadingManager* manager,const String& category);
	virtual ~LoadingThread();

protected:
	void Run();
	void LoadCategory();

private:
	LoadingManager* m_manager;
	String m_category;
};
